﻿using RAP.Framework.Libary.DomTemplateBuilder.Element.Collection.IterateItem;
using RAP.Framework.Libary.DomTemplateBuilder.Interface;

namespace RAP.Framework.Libary.DomTemplateBuilder.Handler.IterateItem
{
	public class IsNotFirstItemHandler : IsFirstItemHandler
    {
        public new IsNotFirstItem Element
        {
            get
            {
                return base.Element as IsNotFirstItem;
            }
        }

        public override bool IsCondition ( object rootParamObject, object parentParamObject, ITemplateRenderContext context )
        {
            return !base.IsCondition ( rootParamObject, parentParamObject, context );
        }
    }
}
